package com.wtone.platform.gat.images.gat.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author: aiLin
 * @date: 2020-10-12
 * @desc:设备信息对象 device_info
 */
@ApiModel(value="设备信息对象",description="DeviceInfo 表")
@Data
public class DeviceInfo
{

        @ApiModelProperty(value="编号")
        private String id;

        @ApiModelProperty(value="设备ip")
        private String ip;

        @ApiModelProperty(value="设备编码")
        private String deviceId;

        @ApiModelProperty(value="注册时间(第一次注册时间)")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date registrationTime;

        @ApiModelProperty(value="状态")
        private String state;

        @ApiModelProperty(value="设备地址")
        private String deviceAddress;

        @ApiModelProperty(value="设备所属社区")
        private String communityId;

        @ApiModelProperty(value="所属用户")
        private String deviceUser;

        @ApiModelProperty(value="经度")
        private String mapx;

        @ApiModelProperty(value="纬度")
        private String mapy;

        @ApiModelProperty(value="设备名称")
        private String deviceName;

        @ApiModelProperty(value="数据状态，0删除，1正常")
        private String flag;

        @ApiModelProperty(value="创建者")
        private String              createBy;

        @ApiModelProperty(value="创建时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;

        @ApiModelProperty(value="更新者")
        private String              updateBy;

        @ApiModelProperty(value="更新时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date                updateTime;

        @ApiModelProperty(value="备注")
        private String remark;

}
